<template>
<div>pina
 
<div>
  {{ token }}
</div>
<div>
    
     {{ menus }}
</div>
<button @click="update">修改</button>

<RouterLink to="/pinia2">跳转</RouterLink>
</div>
</template>
<script setup lang='ts'> 
 import { useAdminStore } from '@/store';
import { storeToRefs } from 'pinia';


const adminStore=useAdminStore();

 
 const {token,menus }=storeToRefs(adminStore);
 

</script>
<style scoped lang='less'>
</style>